﻿using FieldTools.Client.Entity.MyQQ;

namespace FieldTools.Client.Business.IBusiness
{
    public interface IMyQQHttpApiBus
    {
        /// <summary>
        /// 获取买家秀
        /// </summary>
        /// <param name="myqqpost"></param>
        /// <param name="info"></param>
        /// <returns></returns>
        Task<string> GetBuyersShow(CallbackMyQQHttpPost myqqpost, MyQQHttpApiRequestInfo info);
        /// <summary>
        /// 处理消息
        /// </summary>
        /// <param name="myqqpost"></param>
        /// <param name="info"></param>
        /// <returns></returns>
        Task<MyQQHttpApiReturnInfo> MessageHandling(CallbackMyQQHttpPost myqqpost, MyQQHttpApiRequestInfo info);
        /// <summary>
        /// 处理消息，客户端配置用
        /// </summary>
        /// <param name="myqqpost"></param>
        /// <returns></returns>
        Task<MyQQHttpApiReturnInfo> MessageHandlingByClient(CallbackMyQQHttpPost myqqpost);
        /// <summary>
        /// 复读机
        /// </summary>
        /// <param name="myqqpost"></param>
        /// <param name="info"></param>
        /// <returns></returns>
        Task<string> Repeater(CallbackMyQQHttpPost myqqpost, MyQQHttpApiRequestInfo info);
    }
}
